package com.hulin.mqtt.activeMQ;

/**
 * @author HULIN
 * @created with: datafromprovince
 * @package com.hailiang.datafromprovince.activeMQ
 * @description:
 * @date 2019/3/22 19:08
 * @modified By:
 * @Copyright © 2018 HAILIANG Info. Tech Ltd. All rights reserved.
 */
public class Elecric {

    private String deviceId;

    private String deviceName;

    private Integer index;

    public Elecric(String deviceId, String deviceName, Integer index) {
        this.deviceId = deviceId;
        this.deviceName = deviceName;
        this.index = index;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public Integer getIndex() {
        return index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }

    @Override
    public String toString() {
        return "Elecric{" +
                "deviceId='" + deviceId + '\'' +
                ", deviceName='" + deviceName + '\'' +
                ", index=" + index +
                '}';
    }
}
